<?php

include './functions.php';
include './Db.php';

$db = new Db();

$data = $db->query("select t1.*,t2.username from msg t1 inner join user t2 on t1.uid=t2.user_id");

include './tpl/index.html';
